//场景：接口返回的字段名和下划线风格的后端保持一致，但前端想用驼峰。
let person={
    user_name:'zhuhaoran',
    user_age:23
}

const { user_name: userName, user_age: userAge } = person

console.log(userName)  //zhuhaoran

console.log(userAge)  //23